<!DOCTYPE html>
<html lang="zh">
<head>
	<meta charset="UTF-8">
	<meta name="viewport" content="width=device-width, initial-scale=1.0">
	<meta http-equiv="X-UA-Compatible" content="ie=edge">
	<title></title>
</head>
<body>
	
	
	<script>
		//  var arr=[2,0,6,9,0]
		// var unique=Array.from(new Set(arr))
		
		
		// console.log(unique)
		
		var arr=[true,false,true]
		var arr2=[22,99,0]
	   
	   var arr3=[{
		   goods_count: 2,
		   goods_state: true
	   },
	   {
	
		   goods_state: true
	   },
	   {
		   goods_state: true
	   }
	   ]

		 var result=arr3.every(x=>{
			 x.goods_state===true
		 })
		console.log(result)
		
	</script>
</body>
</html>